<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%String path = request.getContextPath();%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>渠道政策 管理</title>
    <style type="text/css">
    </style>
    <jsp:include page="../../import.jsp" flush="true"/>

    <script src="<%=path %>/resource/lib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
</head>

<body class="iframeBody">
<div class="Wrapper">
    <div id="ligergrid_pol" class="sq-grid"></div>
</div>

<script type="text/javascript">
    var polGrid = null;
    $(function () {
        var insCompId = "${insCompId}";
        var chnCd = "${chnCd}";

        /**渠道政策**/
        polGrid = $("#ligergrid_pol").ligerGrid({
            url: '<%=path%>/insurance/insCompChnPol/initList.do?insCompId=' + insCompId,
            method: 'get',
            columns: [
                {display: '保险产品类型', name: 'prdTypCdNm', minWidth: 100, align: 'center'},
                {display: '保险种类', name: 'insTypCdNm', minWidth: 100, align: 'center'},
                {display: '返利比例(格式0.12)', name: 'rebPct', minWidth: 100, align: 'center'},
                {display: '折扣系数', name: 'disRat', minWidth: 100, align: 'center'},
            ],
            usePager: false,
            pageSize:100,
            root: 'rows',
            record: 'total',
            hideLoadButton: true,
            width: '100%',
            height: '100%',
            heightDiff: -2,
            isScroll: true,
            rownumbers: true,
            allowUnSelectRow: true,
            alternatingRow: true
        });

    });

</script>

</body>
</html>
